namespace Front;

public partial class Form1 : Form
{
    public Form1()
    {
        InitializeComponent();
    }

    private void Form1_Load(object sender, EventArgs e)
    {
        // 设置窗体标题
        this.Text = "我的窗体";
        // 初始化某个按钮的文本
        button1.Text = "点击我";
        // 其他需要在窗体加载时执行的逻辑...
    }

    private void button1_Click(object sender, EventArgs e)
    {
        MessageBox.Show("Hello World!");
    }
}